<?php
/**
 * Copyright (C) Alibaba Cloud Computing
 * All rights reserved
 */

require_once realpath(dirname(__FILE__) . '/Request.php');

/**
 * The request used to create logstore from log service.
 *
 * @author log service dev
 */
class Aliyun_Log_Models_CreateLogstoreRequest extends Aliyun_Log_Models_Request
{
    private $logstore;
    private $ttl;
    private $shardCount;
    private $enableTracking;
    private $autoSplit;
    private $maxSplitShard;
    private $appendMeta;

    /**
     * Aliyun_Log_Models_CreateLogstoreRequest constructor
     *
     * @param string $project project name
     */
    public function __construct($project = null, $logstore = null, $ttl = null, $shardCount = null, $enableTracking = true, $autoSplit = true, $maxSplitShard = 64, $appendMeta = true)
    {
        parent::__construct($project);
        $this->logstore       = $logstore;
        $this->ttl            = $ttl;
        $this->shardCount     = $shardCount;
        $this->enableTracking = $enableTracking;
        $this->autoSplit      = $autoSplit;
        $this->maxSplitShard  = $maxSplitShard;
        $this->appendMeta     = $appendMeta;
    }
    public function getLogstore()
    {
        return $this->logstore;
    }
    public function getTtl()
    {
        return $this->ttl;
    }
    public function getShardCount()
    {
        return $this->shardCount;
    }

    public function getEnableTracking()
    {
        return $this->enableTracking;
    }

    public function getAutoSplit()
    {
        return $this->autoSplit;
    }

    public function getMaxSplitShard()
    {
        return $this->maxSplitShard;
    }

    public function getAppendMeta()
    {
        return $this->appendMeta;
    }
}
